package com.ruoyi.information.domain.back;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 企业需求对象 company_need
 *
 * @author ruoyi
 * @date 2023-05-05
 */
public class CompanyNeedBack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 用户ID */
    private Long userId;

    @Excel(name = "用户")
    private Long phone;

    /** 需求类别 */
    @Excel(name = "需求类别")
    private String needCategory;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容",width = 20)
    private String content;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 排序 */
    private Long sort;

    /** 状态 */
    @Excel(name = "状态",readConverterExp="0=未读,1=已读未处理,2=已读已处理")
    private Long state;

    /** 处理状态 0未读 1已读未处理 2未读已处理 */
    @Excel(name = "处理状态 0未读 1已读未处理 2已读已处理")
    private Long state2;

    /** 是否删除0否1是 */
    private Long dr;

    /** 封面 */
    private String cover;

    /** 详情 */
    private String detail;

    /** 浏览次数 */
    private Long num;

    /** 推荐 0否 1是 */
    private Long recom;

    /**  */
    private Long top;

    private Integer isVip;

    private String economic;

    private List<Long> userIds;

    private SysUserBack user;

    private Integer solve;

    private String address;

    private String policy;

    private String demand;

    private String postNum;

    private String taxation;

    private String userId2;

    public String getUserId2() {
        return userId2;
    }

    public void setUserId2(String userId2) {
        this.userId2 = userId2;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPolicy() {
        return policy;
    }

    public void setPolicy(String policy) {
        this.policy = policy;
    }

    public String getDemand() {
        return demand;
    }

    public void setDemand(String demand) {
        this.demand = demand;
    }

    public String getPostNum() {
        return postNum;
    }

    public void setPostNum(String postNum) {
        this.postNum = postNum;
    }

    public String getTaxation() {
        return taxation;
    }

    public void setTaxation(String taxation) {
        this.taxation = taxation;
    }

    public Integer getSolve() {
        return solve;
    }

    public void setSolve(Integer solve) {
        this.solve = solve;
    }

    public Long getState2() {
        return state2;
    }

    public void setState2(Long state2) {
        this.state2 = state2;
    }

    public SysUserBack getUser() {
        return user;
    }

    public void setUser(SysUserBack user) {
        this.user = user;
    }

    public List<Long> getUserIds() {
        return userIds;
    }

    public void setUserIds(List<Long> userIds) {
        this.userIds = userIds;
    }

    public String getEconomic() {
        return economic;
    }

    public void setEconomic(String economic) {
        this.economic = economic;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setNeedCategory(String needCategory)
    {
        this.needCategory = needCategory;
    }

    public String getNeedCategory()
    {
        return needCategory;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setDr(Long dr)
    {
        this.dr = dr;
    }

    public Long getDr()
    {
        return dr;
    }
    public void setCover(String cover)
    {
        this.cover = cover;
    }

    public String getCover()
    {
        return cover;
    }
    public void setDetail(String detail)
    {
        this.detail = detail;
    }

    public String getDetail()
    {
        return detail;
    }
    public void setNum(Long num)
    {
        this.num = num;
    }

    public Long getNum()
    {
        return num;
    }
    public void setRecom(Long recom)
    {
        this.recom = recom;
    }

    public Long getRecom()
    {
        return recom;
    }
    public void setTop(Long top)
    {
        this.top = top;
    }

    public Long getTop()
    {
        return top;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("needCategory", getNeedCategory())
            .append("title", getTitle())
            .append("content", getContent())
            .append("note", getNote())
            .append("sort", getSort())
            .append("state", getState())
            .append("dr", getDr())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("cover", getCover())
            .append("detail", getDetail())
            .append("num", getNum())
            .append("recom", getRecom())
            .append("top", getTop())
            .toString();
    }
}
